<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>Examples of tabs 1.0.x</title>
<style type="text/css">
ul, li { list-style-type: none; padding: 0; margin: 0; }
.tabs { padding-top: 20px; }
.tabs .ui-tabs-nav li {
	float: left;
	height: 30px;
	line-height: 30px;
	padding: 0 20px;
}
.tabs .ui-tabs-tab-active { background: red; color: white; }
.tabs .ui-tabs-panels { clear: both; border: 2px solid red; padding: 10px; }
	.tabs .ui-tabs-panel { display: none; }
</style>
</head>

<body>
<div id="tabs1" class="tabs">
	<ul class="ui-tabs-nav">
		<li>One</li>
		<li>Two</li>
		<li>Three</li>
	</ul>
	<div class="ui-tabs-panels">
		<div class="ui-tabs-panel">
			内容1
		</div>
		<div class="ui-tabs-panel">
			内容2
		</div>
		<div class="ui-tabs-panel">
			内容3
		</div>
	</div>
</div>

<div id="tabs2" class="tabs">
	<ul class="ui-tabs-nav">
		<li>One</li>
		<li>Two</li>
		<li>Three</li>
	</ul>
	<div class="ui-tabs-panels">
		<div class="ui-tabs-panel">
			内容1
		</div>
		<div class="ui-tabs-panel">
			内容2
		</div>
		<div class="ui-tabs-panel">
			内容3
		</div>
	</div>
</div>
<script src="../../../jraiser2-debug.js"></script>
<script src="../../config.js"></script>
<script>
require(['dom/1.0.x/', 'tabs/1.0.x/'], function($, Tabs) {

new Tabs({
	wrapper: $('#tabs1')
});

var tabs2 = new Tabs({
	wrapper: $('#tabs2'),
	playInterval: 3000,
	showWhen: 'click'
});
tabs2.play();

});
</script>
</body>
</html>